package com.alks.pad.data.dto.stitch;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
@NoArgsConstructor
public class StitchInventoryDto {

    @ApiModelProperty(value = "类型（当日判断类型：0是正单，1是补单）")
    private int orderType;

    @ApiModelProperty(value = "类型：正单，补单")
    private String orderType2;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "型体")
    private String style;

    @ApiModelProperty(value = "颜色")
    private String color;

    @ApiModelProperty(value = "缴库数量")
    private int qty;

    @ApiModelProperty(value = "缴库日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private Date slipDate;

    @ApiModelProperty(value = "部门号")
    private String deptNo;

    @ApiModelProperty(value = "针车组别")
    private String deptName;

    @ApiModelProperty(value = "完成日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private Date sysDate;

    @ApiModelProperty(value = "类型（I入库，O发料）")
    private String slipType;

    //判断该指令的工序全部数量
    @ApiModelProperty(value = "工序数量")
    private int seqCount;

    @ApiModelProperty(value = "需要做的所有工序数量")
    private int qtyNeedCount;

    @ApiModelProperty(value = "一起做了多少工序数量")
    private int qtyDidCount;
}